# Creates a base debian image with serf/dnsmasq/hadoop
FROM debian:stable

MAINTAINER yaolun <yaolunlun@sina.com>

RUN apt-get update && \
    apt-get install -y unzip curl dnsmasq

# install serf
RUN curl -Lso serf.zip https://dl.bintray.com/mitchellh/serf/0.6.4_linux_amd64.zip && \
    unzip serf.zip -d /bin && \
    rm serf.zip

# install openssh-server, openjdk
RUN apt-get install -y openssh-server openjdk-7-jdk 

